Repository navigation
fix(web): tool calls stay grouped after a usage-limit pause again - #40905
Conversation
The usage-limit recovery notice hides the run's error row, and the timeline only recognized a usage limit by finding that row, so the paused run's tool calls were itemized like any other failure. Pass the usage-limited run id from the same runtime state that hides the row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
EvidenceCreated the same two-read usage-limit pause on both commits using a deterministic ACP provider through the real server and clients. Captured the paused state, reloaded, and captured it again. Light theme, 1280×800; Chromium web and Linux Electron under Xvfb, with fresh isolated state. All selected frames were visually inspected and settled at Changes +19 -0 (the fixture script). Base itemizes both reads; head shows one collapsed Read 2 files row and one recovery notice. This survives reload on web and desktop. Ordinary provider errors remain itemized.
Reload recordings: web before, web after, desktop before, desktop after. Reproduction sources: scenario, isolated seed driver, web capture driver, Electron capture driver, ordinary-error seed, ordinary-error capture driver. The scenario runner returned exit 0: fails on base, passes on head. Final captures were retaken with matching settled counters and no setup or infrastructure toasts. The fixture exercises usage_limit rendering; live Claude OAuth quota handling was not exercised. Not shown:
|
**v0.1.12-nightly.20261122.5111** · 30 changes from 10 contributors - **Multi-file diffs.** Open diff now shows every file in a multi-file Codex patch. - **Mixed-content paste.** Pasting a message with text and a picture now keeps both. - **Queued attachments.** Edit a queued message without losing its image or file attachment chips. - **Pull request checks.** Agents watching a pull request can recognize checks that already passed instead of waiting indefinitely. - **Notebook outputs.** Saved HTML outputs now appear when you scroll them into view. ### Plus 24 more bug fixes and performance improvements. <details> <summary>Full changelog</summary> ## What's Changed * perf(mobile): keep image bytes outside draft JSON by @t3dotgg in pingdotgg/t3code#9727 * fix(server): watch_pull_request says when checks already passed by @juliusmarminge in pingdotgg/t3code#40866 * fix(codex): Open diff shows every file of a multi-file patch by @Abhiram-745 in pingdotgg/t3code#40874 * fix(server): ACP startup gives up when the agent never answers the handshake by @juliusmarminge in pingdotgg/t3code#40864 * fix(server): a branch prefixed with another remote's name publishes under its full name by @Abhiram-745 in pingdotgg/t3code#40877 * fix(server): list open delegated tasks when task_status or task_cancel finds no match by @Project516 in pingdotgg/t3code#40886 * fix(gitlab): find merge requests opened from a fork by @Abhiram-745 in pingdotgg/t3code#40894 * fix(web): pasting a chat message with text and a picture keeps both by @juliusmarminge in pingdotgg/t3code#40909 * fix(antigravity): bound silent post-settle background command holds by @Lokkuchakreshkumar in pingdotgg/t3code#40858 * fix(desktop): WSL is not offered or started when only the Windows install stub exists by @juliusmarminge in pingdotgg/t3code#40918 * fix(server): idle /ws connections behind a reverse proxy no longer drop every 60s by @juliusmarminge in pingdotgg/t3code#40932 * fix(server): thread reads no longer attribute T3 Code's compact-before-send /compact to the user by @juliusmarminge in pingdotgg/t3code#40934 * fix(web,mobile): @-file mentions show by name in message previews, not as raw links by @tiliakoos in pingdotgg/t3code#40924 * fix(web): tool calls stay grouped after a usage-limit pause again by @matthew-waters in pingdotgg/t3code#40905 * fix(server): t3 doctor no longer reports a database just under 1 GiB as "1024.0 MiB" by @tiliakoos in pingdotgg/t3code#40952 * fix(web): show clone failure after progress is dismissed by @StiensWout in pingdotgg/t3code#40951 * Invalidate pending theme imports when a replacement is too large by @StiensWout in pingdotgg/t3code#40965 * fix(mobile): show linked thread history page errors by @StiensWout in pingdotgg/t3code#40973 * fix(client-runtime): skip waiting for lower-priority linked addresses by @StiensWout in pingdotgg/t3code#40989 * fix(web): navigate Excel sheets from the focused tab by @StiensWout in pingdotgg/t3code#41008 * fix(mobile): bound app-owned composer attachment filenames by @StiensWout in pingdotgg/t3code#40991 * fix(web): prioritize visible saved notebook outputs by @StiensWout in pingdotgg/t3code#40998 * fix(web): editing a queued message keeps its attachment chips resolved by @smirea in pingdotgg/t3code#40945 * fix(server): unlinking an environment ends its session on the other machine by @juliusmarminge in pingdotgg/t3code#41005 * fix(mobile): scope Git result banners to their originating thread by @StiensWout in pingdotgg/t3code#41015 * fix(web): keep the conversation when a pairing tab closes by @StiensWout in pingdotgg/t3code#41025 * fix: restart linked thread reads when trying again by @StiensWout in pingdotgg/t3code#41020 * fix(client-runtime): count ambiguous projects in chat file links by @StiensWout in pingdotgg/t3code#40986 * fix(mobile): keep media actions on each sent image page by @StiensWout in pingdotgg/t3code#41018 * perf(server): a run's provider turn lookup is linear, not quadratic by @navidnadali in pingdotgg/t3code#38791 ## New Contributors * @Lokkuchakreshkumar made their first contribution in pingdotgg/t3code#40858 * @matthew-waters made their first contribution in pingdotgg/t3code#40905 **Full Changelog**: pingdotgg/t3code@v0.1.12-nightly.20261122.5098...v0.1.12-nightly.20261122.5111 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.12-nightly.20261122.5111










Problem
When a turn stops on a usage limit, the timeline lists every tool call on its own row instead of keeping them grouped. #24937 fixed this, but #29292 later hid the usage-limit error row behind the recovery notice. The grouping rule only recognized a usage limit by finding that row, so once it was hidden the run looked like any other failure and was itemized again.
Change
ChatView passes the usage-limited run's id to the timeline. It takes that id from the same runtime state client-runtime uses to hide the row (
deriveUsageLimitNoticeRows).itemizedFailedRunIdstreats that run as usage-limited even when its error row is not in the timeline. Hiding the duplicate row is unchanged, and other failures are still itemized.Scope
A small fix for a regression of #24918 (fixed in #24937, regressed by #29292), so no new issue. The fix is in the web timeline, so it covers web and desktop. Mobile itemizes every failed run whatever the failure class and never had the #24937 exception, so its behavior is unchanged here.
Verification
failed turn transcriptcase inMessagesTimeline.logic.test.ts: a latest usage-limited run whose error row has been hidden should keep its commands under one collapsed toggle. It fails onmain(no toggle; each command is its own row) and passes with this change.main): the two reads are listed separately.main)vp run check:changedpasses.I could not trigger a real provider usage limit on demand, so the app check uses seeded state.
Investigated with GPT 6.2 Sol (Codex) in T3 Code; fix and verification by Claude Opus 5.5 (Claude Code) in T3 Code.
🤖 Generated with Claude Code